import request from '@/utils/request'

// 用户登录
export const login = (data) => {
  return request.post('/user/login', data)
}
// 获取用户信息
export const getUser = () => {
  return request.get('/user')
}
// 我的喜欢
export const userFsvorteList = () => {
  return request.get('/user/favorites')
}
// 我的收藏
export const getHouseList = () => {
  return request.get('/user/houses')
}
// 我的出租
// AREA|88cff55c-aaa4-e2e0
// export const getHouses = ()
